package co.th.bjc.md.dao;

import java.io.InputStream;
import java.math.BigDecimal;
import java.util.Date;

public class ProductImage {
	private BigDecimal productCode;
	private Integer prodImgCode;
	private InputStream prodImgContent;
	private String createBy;
	private Date createDate;
	private String updateBy;
	private Date updateDate;
	
	public ProductImage(){
		Date nowDate = new Date();
		createBy = "SYSTEM";
		createDate = nowDate;
		updateBy = "SYSTEM";
		updateDate = nowDate;
	}

	public BigDecimal getProductCode() {
		return productCode;
	}

	public void setProductCode(BigDecimal productCode) {
		this.productCode = productCode;
	}

	public Integer getProdImgCode() {
		return prodImgCode;
	}

	public void setProdImgCode(Integer prodImgCode) {
		this.prodImgCode = prodImgCode;
	}

	public InputStream getProdImgContent() {
		return prodImgContent;
	}

	public void setProdImgContent(InputStream prodImgContent) {
		this.prodImgContent = prodImgContent;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
}
